#!/bin/bash

#apt-get download python-pip
# 安装 python-pip 包
sudo dpkg -i ./python-pip-whl_9.0.1-2.3~ubuntu1.18.04.8_all.deb
sudo dpkg -i ./python-pip_9.0.1-2.3~ubuntu1.18.04.8_all.deb
echo "----------"
pip --version

echo "----------"

#pip download protobuf==3.13.0
# 安装 protobuf 及其依赖项
pip install ./setuptools-44.1.1-py2.py3-none-any.whl --no-index --find-links .
pip install ./six-1.16.0-py2.py3-none-any.whl --no-index --find-links .
pip install ./protobuf-3.13.0-cp27-cp27mu-manylinux1_x86_64.whl --no-index --find-links .
echo "----------"
pip show protobuf

